package com.smarttourism.service.impl;

import com.smarttourism.domain.RoomType;
import com.smarttourism.mapper.RoomTypeMapper;
import com.smarttourism.service.RoomService;
import com.smarttourism.service.RoomTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoomTypeServiceImpl implements RoomTypeService {
    @Autowired
    private RoomTypeMapper roomTypeMapper;
    @Override
    public List<RoomType> findAll() {
        return roomTypeMapper.selectAll();
    }
}
